package com.queue;

import java.util.concurrent.LinkedBlockingQueue;

/**
 * @author: sun.hongliang
 * @create: 2019/12/06 18:39
 */
public class LinkedBlockingQueueTest {
    public static void main(String[] args) throws Exception {
        LinkedBlockingQueue<String> queue = new LinkedBlockingQueue<>(3000);
        queue.put("a");
        queue.take();
    }
}
